package cn.net.msg.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.springframework.stereotype.Component;

@Component("focus")
@Entity @Table(name = "tb_focus")
public class TbFocus {

    @Id @Column(name = "Focus_id",length=11)
    private int focusId;
    @Column(name = "Focus_name",length=50)
    private String focusName;
    @Column(name = "Focus_descrition",length=100)
    private String focusDescrition;
    @Column(name = "Focus_url",length=100)
    private String focusUrl;
    @Column(name="Focus_inputtime")
    @Temporal(TemporalType.TIMESTAMP)
    private Date focusInputtime;
    @Column(name = "Focus_link",length=100)
    private String focusLink;
    
    
    public int getFocusId() {
        return focusId;
    }
    public void setFocusId(int focusId) {
        this.focusId = focusId;
    }
    
    
    public String getFocusName() {
        return focusName;
    }
    public void setFocusName(String focusName) {
        this.focusName = focusName;
    }
    
    
    public String getFocusDescrition() {
        return focusDescrition;
    }
    public void setFocusDescrition(String focusDescrition) {
        this.focusDescrition = focusDescrition;
    }
    
    
    public String getFocusUrl() {
        return focusUrl;
    }
    public void setFocusUrl(String focusUrl) {
        this.focusUrl = focusUrl;
    }
    
    
    public Date getFocusInputtime() {
        return focusInputtime;
    }
    public void setFocusInputtime(Date focusInputtime) {
        this.focusInputtime = focusInputtime;
    }
    
    
    public String getFocusLink() {
        return focusLink;
    }
    public void setFocusLink(String focusLink) {
        this.focusLink = focusLink;
    }    
}
